package com.ruoyi.shop.trade.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商城订单配送对象 shop_order_delivery
 * 
 * @author xuxiang
 * @date 2024-01-25
 */
public class ShopOrderDelivery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 配送id */
    private Long deliveryId;

    /** 配送单号 */
    @Excel(name = "配送单号")
    private String deliveryNo;
    
    /** 订单id */
    private Long orderId;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String contact;

    /** 联系人手机号 */
    @Excel(name = "联系人手机号")
    private String mobile;

    /** 联系所在省id */
    @Excel(name = "联系所在省id")
    private Long provinceId;

    /** 联系所在省名称 */
    @Excel(name = "联系所在省名称")
    private String provinceName;

    /** 联系所在市id */
    @Excel(name = "联系所在市id")
    private Long cityId;

    /** 联系所在市名称 */
    @Excel(name = "联系所在市名称")
    private String cityName;

    /** 联系所在县id */
    @Excel(name = "联系所在县id")
    private Long districtId;

    /** 联系所在县名称 */
    @Excel(name = "联系所在县名称")
    private String districtName;

    /** 联系人地址 */
    @Excel(name = "联系人地址")
    private String address;

    /** 物流公司id */
    @Excel(name = "物流公司id")
    private Long expressId;

    /** 物流公司名称 */
    @Excel(name = "物流公司名称")
    private String expressName;

    /** 物流公司编号 */
    @Excel(name = "物流公司编号")
    private String expressCode;

    /** 0已发货1未发货 */
    @Excel(name = "发货状态")
    private Integer deliveryStatus;
    
    /** 0已收货1未收货 */
    @Excel(name = "收货状态")
    private Integer rogStatus;

    /** 删除标志（0代表存在 2代表删除） */
    private Long delFlag;

    public void setDeliveryId(Long deliveryId) 
    {
        this.deliveryId = deliveryId;
    }

    public Long getDeliveryId() 
    {
        return deliveryId;
    }
    public void setDeliveryNo(String deliveryNo) 
    {
        this.deliveryNo = deliveryNo;
    }

    public String getDeliveryNo() 
    {
        return deliveryNo;
    }
    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setProvinceId(Long provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId() 
    {
        return provinceId;
    }
    public void setProvinceName(String provinceName) 
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName() 
    {
        return provinceName;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setDistrictId(Long districtId) 
    {
        this.districtId = districtId;
    }

    public Long getDistrictId() 
    {
        return districtId;
    }
    public void setDistrictName(String districtName) 
    {
        this.districtName = districtName;
    }

    public String getDistrictName() 
    {
        return districtName;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setExpressId(Long expressId) 
    {
        this.expressId = expressId;
    }

    public Long getExpressId() 
    {
        return expressId;
    }
    public void setExpressName(String expressName) 
    {
        this.expressName = expressName;
    }

    public String getExpressName() 
    {
        return expressName;
    }
    public void setExpressCode(String expressCode) 
    {
        this.expressCode = expressCode;
    }

    public String getExpressCode() 
    {
        return expressCode;
    }
    
    public Integer getDeliveryStatus() {
		return deliveryStatus;
	}

	public void setDeliveryStatus(Integer deliveryStatus) {
		this.deliveryStatus = deliveryStatus;
	}

	public Integer getRogStatus() {
		return rogStatus;
	}

	public void setRogStatus(Integer rogStatus) {
		this.rogStatus = rogStatus;
	}

	public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
        	.append("orderId", getOrderId())
            .append("deliveryId", getDeliveryId())
            .append("deliveryNo", getDeliveryNo())
            .append("contact", getContact())
            .append("mobile", getMobile())
            .append("provinceId", getProvinceId())
            .append("provinceName", getProvinceName())
            .append("cityId", getCityId())
            .append("cityName", getCityName())
            .append("districtId", getDistrictId())
            .append("districtName", getDistrictName())
            .append("address", getAddress())
            .append("expressId", getExpressId())
            .append("expressName", getExpressName())
            .append("expressCode", getExpressCode())
            .append("deliveryStatus", getDeliveryStatus())
            .append("rogStatus", getRogStatus())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
